package fivecardstudd;

public class DumbAI extends AI{
	
	private Table table;
	private Hand AIHand;

	public DumbAI(int chips, Table table) {
		super(chips, table);
		
	}
        
	public void getMoveOfDumb(){
     // check visible cards in current hand. if you have anything more than higher card fold , so you dont win something accidently :)
		AIHand=getCurrentHand();
		int []visible=AIHand.determineVisibleHandRanking();
		int rank=visible[0];
		if(rank>1){
			fold();
		}
		
		else{
			call();
	 }
		 
	}
      
}